<#include "head_bus.ftl">
<div class="container">
    <div class="row">
        <div class="col-xs-12">
            <h2 class="title text-center"><span>业务详情</span></h2>
        <!-- 业务详情 -->    
        <div  id="business">
            <div class="c-data mb70">
                <table>
                    <thead>
                        <tr>
                            <th width="15%">业务类型 </th>
                            <th>合同编号 </th>
                            <th>合同截止日期</th>
                            <!--<th>空间</th>-->
                            <th>签订时间</th>
                            <!--<th>剩余租用时间</th>-->
                            <th width="30%">功能</th>
                        </tr>
                    </thead>
                    <tbody>
                       <#list contractInfoList as one>
                        <tr>
                            <td>${one.type}</td>
                            <td>${one.contract_bianhao}</td>
                            <td>${one.end_time}</td>
                            <!--<td>100M</td>-->
                            <td>
                            	${one.start_time}
							</td>
                            <!--<td>365天</td>-->
                            <td>
                                <a href="" class="btn btn-w btn-t  btn-t1" disabled  data-toggle="modal" data-target="#modal-28" data-dismiss="modal" data-backdrop="static">扩容扩租</a>
                                <!--<a href="###" class="btn btn-w" data-toggle="modal" data-target="#modal-23" data-dismiss="modal" data-backdrop="static">详情</a>-->
                                <a href="${BASE_PATH}/order/orderdetail.htm?ordertype=${one.type}&orderid=${one.commodity_id}" target="_blank" class="btn btn-w btn-t">详情</a>
                            </td>
                        </tr>
                        </#list>
                  </tbody>
                </table>
            </div>  
         <!-- 页码 -->
        <center>
                                      共${totalCount}条记录, ${pageNo}/${pages} 页
 				<#if (pageNo>1) >
				<a class="pageLink" href="${BASE_PATH}/order/business_detail.htm?pageNo=${pageNo-1}">上一页</a>
				</#if>
				<#if (pageNo>1) >
				<a class="pageLink" href="${BASE_PATH}/order/business_detail.htm?pageNo=1">首页</a>
				</#if>

				<#if (pages>0) >
				<#list 1..pages as one>
				<#if (pageNo-one)==3>
				...
				<#elseif ((pageNo-one)<=2 && (pageNo-one)>=1) >
				<a class="pageLink" href="${BASE_PATH}/order/business_detail.htm?pageNo=${one}">${one}</a>
				<#elseif pageNo==one>
				<span class="current">${one}</span>
				<#elseif  ((one-pageNo)<=2 && (one-pageNo)>=1) >
				<a class="pageLink" href="${BASE_PATH}/order/business_detail.htm?pageNo=${one}">${one}</a>
				<#elseif (one-pageNo)==3>
				...
				</#if>
				</#list>
				</#if>
				<#if pageNo<pages >
				<a class="pageLink" href="${BASE_PATH}/order/business_detail.htm?pageNo=${pageNo++1}">下一页</a>
				</#if>
     </center>
    
        </div>          
        </div>
    </div>
</div>
<#include "foot_bus.ftl">